﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
namespace OrbitUI.Models
{
    public class LoginViewModel
    {
        [ScaffoldColumn(false)]
        public int UserID { get; set; }
        [Required(ErrorMessageResourceName = "YouMustSpecifyUsername", ErrorMessageResourceType = typeof(Resources ))]
        [Display(Name = "UserName", ResourceType = typeof(Resources))]
        public string UserName { get; set; }

        [Required(AllowEmptyStrings = false, ErrorMessage = "Enter a valid password")]
        public string Password { get; set; }
        [Display(Name = "RememberMe", ResourceType = typeof(Resources))]
        public bool RememberMe { get; set; }

    }
}